package com.bringway.p2p.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.p2p.dao.OpinfoDao;
import com.bringway.p2p.service.OpinfoService;

import net.sf.json.JSONObject;
@Service
@Transactional
public class OpinfoServiceImpl implements OpinfoService{
	
	@Autowired
	private OpinfoDao opinfoDao;
	@Override
	public List queryOpinfoList(JSONObject params) {
		return opinfoDao.queryOpinfoList(params);
	}

	@Override
	public int getOpinfoCount(JSONObject params) {
		return opinfoDao.getOpinfoCount(params);
	}

	@Override
	public List<Map<String, Object>> queryAppLoadList(JSONObject params) {
		return opinfoDao.queryAppLoadList(params);
	}

	@Override
	public int getAppLoadCount(JSONObject params) {
		return opinfoDao.getAppLoadCount(params);
	}

	@Override
	public List<Map<String, Object>> getAppLoginTj(JSONObject params) {
		return opinfoDao.getAppLoginTj(params);
	}

}
